package com.hs.myshell;

import org.eclipse.ui.IPageLayout;
import org.eclipse.ui.IPerspectiveFactory;

import com.hs.myshell.edit.TerminalEditor;
import com.hs.myshell.views.TreeView;

public class Perspective implements IPerspectiveFactory {

	@Override	
	public void createInitialLayout(IPageLayout layout) {
		layout.setEditorAreaVisible(false);
		layout.addView(TreeView.ID, IPageLayout.LEFT, 0.2f, layout.getEditorArea());
//		layout.addView(TerminalEditor.ID, IPageLayout.LEFT, 0.5f, layout.getEditorArea());
	}
}
